package org.example.coupon.api;


import org.example.core.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;
import java.util.Map;

@FeignClient("warehouse-service")
public interface WareHouseService {
    @PostMapping("/wms/backend/wareSku/seckillSkuStock")
    R<Map<Long, Integer>> getSeckillSkuStock(@RequestBody List<Long> skuIds);
}
